package com.example.shixun.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel(value = "授权用户信息")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserDTO {

  @ApiModelProperty(value = "id")
  private Integer id;

  @ApiModelProperty(value = "用户名")
  private String name;

  @ApiModelProperty(value = "临时登录凭证")
  private String code;

  @ApiModelProperty(value = "身份")
  private String role;

  @ApiModelProperty(value = "邮箱")
  private String email ;

}
